/** ###################################################################
**     Filename  : ff_err.H
**     Project   : project_xgate
**     Processor : MC9S12XDP512BMPV
**     Compiler  : CodeWarrior HCS12X C Compiler
**     Date/Time : 4/19/2009, 10:20 AM
**     Contents  :
**         User source code
**
**     (c) Copyright UNIS, a.s. 1997-2008
**     UNIS, a.s.
**     Jundrovska 33
**     624 00 Brno
**     Czech Republic
**     http      : www.processorexpert.com
**     mail      : info@processorexpert.com
** ###################################################################*/

#ifndef __ff_err_H
#define __ff_err_H


/* MODULE ff_err */


#include "ff.h"    
#include "SCI.h"

extern DWORD acc_size;				
extern FILINFO finfo;
extern WORD acc_files, acc_dirs;

/* Work register for fs commands */



void xputc (char data);
void xputs (const *pt);             
void get_line (char *buff, int len);

int xatoi (char **str, long *res);
void xitoa (long val, char radix, char len);

void xprintf (const char* str, ...);

static void put_dump (BYTE *buff, DWORD ofs, BYTE cnt);
void put_rc (FRESULT rc); //cannot disable C3303 (preprocessor message)

static FRESULT scan_files (char* path);


/* END ff_err */

#endif

